Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "beam"
-
Girl: you don't...see sharp
Me: I'm... Not a Java developer
Girl: I never said you were
Me: but why make that joke?
Girl: what joke? You hit your head on a beam tripped over a chair and missed your drink. You clearly need glasses
Me: *gets glasses* oh your not a girl 😳7 -
My first dev job was a paid internship at Oak Ridge National Laboratory. But I wasn't in the computing division with the supercomputer and the 30-foot 18-screen wall display. In a way, I was doing something more exciting. I was in the Hollifield Radioactive Ion Beam Facility.
That meant that I was working next to a radioactive ray gun that they fired at different targets to try and make new kinds of particles. To refine the beam components, there was a tower with the world's highest voltage Van de Graf generator at 25,000 kilovolts. I got training on how to put on a radiation suit, and was told that if I got locked in the wrong room and red lights began to flash, I had about five seconds to run to the far wall and push the E-stop, before I got irradiated and died slowly over the next five weeks.
But, I was reassured, that never happened. Radiation leaks are rare too (that's why we wore dosimeters). More likely, there would be a leak in the generator tower. To explain why that's bad, that tower wasn't filled with normal air. 25,000 kilovolts would punch through that like nothing, arc against the walls, and we'd lose the electric charge. No, instead, the tower was filled to a few atmospheres of pressure with sulfur hexafluoride gas. You know how helium makes your voice go up? This stuff makes your voice go down. It's heavier than air, and it kills you by displacing and starving your lungs of oxygen.
So, while I was happily coding away on PHP, CSS and the Bash shell, making a log book for all the ion gun settings and targets the scientists used in their experiments, I was keeping an ear out for the oxygen alarm. I had a blast!2 -
So I made this simple lamp that shows what is current build status on Jenkins CI.
Main features:
- Change color depending on Jenkins build status
- Automaticaly turn on/off if user is logged on Hipchat
- Beam effect if somebody makes coffee
- Unicorn effect if food is delivered
- Big red arcade button that can send random message to somebody on Hipchat
https://youtube.com/watch/...
https://github.com/macbury/lam.py
3 -
I spent 4 hours trying to rectify a client's website.
Just to find out it was missing a '}' in one of the CSS line. Can you not?
*facepalm*2 -
So these days (since yesterday), I am using an iPhone. Mom’s phone broke and she wanted an android, and I wanted to fiddle with iPhone... So she took my OnePlus 3 and got me an iPhone 6s.
I like iOS as long as it works.
But... I FREAKING HATE that the App Store has country specific rating. You will only see the ratings/reviews of your countrymen.
Whose frigging brilliant idea was that!!! 😡😡😡
Now I have most apps (like beam and narwhal for reddit) showing as unrated.
M so pissed off at this 😩😩 -
My shower tap has two modes:
- Quark-melting relativistic beam of sizzling hot plasma
- Time-freezing liquid death from the cold heart of Dante’s hell2 -
Entering Week4 post-layoff. Week2 of pretty much nothing but playing with my kids, doing house chores, exercising and job searching.
I spent like 3 hours in the gym last Friday. Instructor there turned to me and said "tough divorce?". To what I answered "very happily married, got laid off from work". He said that it would be his second guess.
Even before this whole crap I had enough cash flow-yielding investments to just about make rent. My wife makes enough to make sure we will want for nothing, our old folks have our kids' tuition fees covered, and we have some savings anyway.
But the anxiety-laden period between "send a dozen messages and resumė's" and having the same "greetings, fellow millenial!" meetings with different sets of tech-illiterate boomers and toddlers is becoming a boring nuisance, one that "having a side project to keep my mind warm" could solve.
Maybe I will fix the Stardew Valley Mods API for Android. I haven't done the C#/.NET thing since uni, and my frontend Java game is weak (at best) but how much could have it changed this last decade or so? /s
Maybe I will write a MongoDB Runner for Apache Beam. But I'm afraid that won't yeld enough street cred to be worth it Does anyone knows what it means?
Maybe I will finally be done consolidating a lifetime of cloud storage into a big-kid glacier-level LTS solution.
Dunno, bored here. Need some 20h/week project I can quit as soon as some job appears to be lining up. Ideas?1 -
Last Thursday, project owner insisted that the module I was working on to be ready for testing this Monday(though the supposed deadline is next week).
Went to work on a day off to deliver it as requested. Monday came. Monday went. No testing started. Project owner was on leave.
Now he's asking if we can start with the testing.
Hope I have laser beam eyes so I can toast him. -_-2 -
Guy told me Java Swing is more stable and has more effective look than JavaFx. Okay mate, I'm sure. 😒
-
The most difficult esoteric programming language is not Brainfuck. It is Malbolge:
"It took two years for the first Malbolge program to appear. The author himself has never written a Malbolge program. The first program ["Hello World"] was not written by a human being; it was generated by a beam search algorithm (...)"
(https://en.wikipedia.org/wiki/...)
So basically it took a brutforce try-and-error approach to write "Hello World". Absolutely crazy! Imagine malware written like that 🤖4 -
I don't understand why people drive with high beam on, even when it's not needed!
Is it only in India or anywhere else too?
Literally, I'm so frustrated with this shit.
This point should be the very first and most important in the list of the learning driving.
10 -
It wasn't really the project itself, but more the execution of it
Last semester we were tasked with writing a new programming language from scratch. We were a team of six people, everything went great to begin with. We discussed language features, the framework runtime it should run on and even what language to write it in.
Fast forward two weeks, nobody is doing anything but me, the two dudes tasked with helping me were both no-shows and the others were busy documenting the syntax and semantics of the language.
I basically ended up having to write the whole language myself with no breaks no help and no guidance.
A few weeks before deadline I completely burned out and couldn't do anything other than just sit and stare at the code; mentally exhausted and not in a mood to do anything other than doing mindless unrelated tasks. But alas work had to get done.
And it did get done... Sorta.
Our beautiful statically typed, statically scoped concurrent programming language that was supposed to compile to BEAM code was neither statically typed, statically scoped, and the output ended up being half-working elixir code that only worked on the most specific of cases.
I don't want to work with those guys again.3 -
So I decided to have some funzies over the weekend. Started XCOM 2. Built a team for a mission, spent an hour customising. Then I spent 3 hours going through and not failing miserably even once. The last fucking part of the mission, my favourite sniper dies after getting hammered in the face with a fucking laser beam. Then I lose control of the battlefield and everyone dies. Start again because I'm NOT gonna lose my awesome sniper!
This game is like designing software, planning deployment strategies, and disaster recovery at the same time. Recommended for all devs!6 -
I would probably say my cousin.. We cultivate a unique back and forth that generates a powerful bidirectional influence beam. @blackmarket
There are, of course, other honorable mentions.. past/current co workers, ect..1 -
If anyone complains one more time about "windows is built upon a DLL-Hell", i will challenge this specific anyone to implement react into an existing PHP-Project.
Installing matching package versions via npm is the real struggle.
Especially if you decide to be a node psycho who's delivering his react code via webpack.
*projectile vomiting in a straight beam of acid vomit*
Wasted a complete day of my life, dealing with Facebook's naughty shit.... -
I used vim, Sublime and most recently vscode. I had Webstorm lying around for about 2 months now, and I'd really like to switch to it but it's constant fight, and not one im winning either... :(
Any advice from fellow "devs who rant" ?6 -
I believe that there's some evil dark magic in the BEAM that detects if the user or developer is on a non *nix machine and then purposefully throws all kinds of strange errors or just fucking blows itself up for no reason. Take the shit to a *nix machine and it just works like magic and is easy to work with which is part of the reason why I love it and the ecosystem.
-
I'm never committing to finishing another PC game ever again... And sticking to arcade, short games only.
Playing Nu no Kuni 2 for the last 3 days... 25hrs and counting... Now at final boss... I think and I can't get infinite HP in Skirmish... So Keep getting entire force wiped out one hit with his laser beam which keeps getting stronger....
It's like a fly vs us. In order to win it's gotta slowly chip away at u, but he can die at an instant any time...
Oh and the 25hrs includes massive cheating and speed hacking to move faster.2 -
I am trying to extract data from the PubSub subscription and finally, once the data is extracted I want to do some transformation. Currently, it's in bytes format. I have tried multiple ways to extract the data in JSON format using custom schema it fails with an error
TypeError: __main__.MySchema() argument after ** must be a mapping, not str [while running 'Map to MySchema']
**readPubSub.py**
import apache_beam as beam
from apache_beam.options.pipeline_options import PipelineOptions
import json
import typing
class MySchema(typing.NamedTuple):
user_id:str
event_ts:str
create_ts:str
event_id:str
ifa:str
ifv:str
country:str
chip_balance:str
game:str
user_group:str
user_condition:str
device_type:str
device_model:str
user_name:str
fb_connect:bool
is_active_event:bool
event_payload:str
TOPIC_PATH = "projects/nectar-259905/topics/events"
def run(pubsub_topic):
options = PipelineOptions(
streaming=True
)
runner = 'DirectRunner'
print("I reached before pipeline")
with beam.Pipeline(runner, options=options) as pipeline:
message=(
pipeline
| "Read from Pub/Sub topic" >> beam.io.ReadFromPubSub(subscription='projects/triple-nectar-259905/subscriptions/bq_subscribe')#.with_output_types(bytes)
| 'UTF-8 bytes to string' >> beam.Map(lambda msg: msg.decode('utf-8'))
| 'Map to MySchema' >> beam.Map(lambda msg: MySchema(**msg)).with_output_types(MySchema)
| "Writing to console" >> beam.Map(print))
print("I reached after pipeline")
result = message.run()
result.wait_until_finish()
run(TOPIC_PATH)
If I use it directly below
message=(
pipeline
| "Read from Pub/Sub topic" >> beam.io.ReadFromPubSub(subscription='projects/triple-nectar-259905/subscriptions/bq_subscribe')#.with_output_types(bytes)
| 'UTF-8 bytes to string' >> beam.Map(lambda msg: msg.decode('utf-8'))
| "Writing to console" >> beam.Map(print))
I get output as
{
'user_id': '102105290400258488',
'event_ts': '2021-05-29 20:42:52.283 UTC',
'event_id': 'Game_Request_Declined',
'ifa': '6090a6c7-4422-49b5-8757-ccfdbad',
'ifv': '3fc6eb8b4d0cf096c47e2252f41',
'country': 'US',
'chip_balance': '9140',
'game': 'gru',
'user_group': '[1, 36, 529702]',
'user_condition': '[1, 36]',
'device_type': 'phone',
'device_model': 'TCL 5007Z',
'user_name': 'Minnie',
'fb_connect': True,
'event_payload': '{"competition_type":"normal","game_started_from":"result_flow_rematch","variant":"target"}',
'is_active_event': True
}
{
'user_id': '102105290400258488',
'event_ts': '2021-05-29 20:54:38.297 UTC',
'event_id': 'Decline_Game_Request',
'ifa': '6090a6c7-4422-49b5-8757-ccfdbad',
'ifv': '3fc6eb8b4d0cf096c47e2252f41',
'country': 'US',
'chip_balance': '9905',
'game': 'gru',
'user_group': '[1, 36, 529702]',
'user_condition': '[1, 36]',
'device_type': 'phone',
'device_model': 'TCL 5007Z',
'user_name': 'Minnie',
'fb_connect': True,
'event_payload': '{"competition_type":"normal","game_started_from":"result_flow_rematch","variant":"target"}',
'is_active_event': True
}
Please let me know if I m doing something wrong while parsing the data to JSON. Also, I am looking for examples to do data masking and run some SQL within Apache Beam4 -
Hey everyone,
If you're noticing cracks in your walls, uneven floors, or doors that won’t close properly, you might have issues with your Pier & Beam Foundation Repair. This type of foundation can shift over time, but with Pier & Beam Foundation Repair, you can restore your home’s stability.3 -
Foundation Contractors in San Antonio: The Best Choice for Your Foundation Repair Needs
When your home or business starts showing signs of foundation issues, it’s crucial to seek out a reliable and experienced foundation contractor. Whether you're dealing with cracks in your walls, uneven floors, or doors and windows that no longer close properly, these issues can indicate serious foundation problems. At San Antonio Foundation Repair, we are proud to be one of the leading foundation contractors in San Antonio, offering expert solutions to keep your property stable, secure, and protected.
Why Choose Us as Your Foundation Contractors in San Antonio?
Choosing the right contractor for foundation repairs is no small decision. At San Antonio Foundation Repair, we have built a reputation for delivering the best foundation repair in San Antonio, thanks to our years of experience, expert team, and commitment to customer satisfaction.
We specialize in diagnosing and fixing all types of foundation issues, and we use only the latest tools and techniques to ensure durable, long-lasting repairs. Whether it's a simple crack or a more complex problem, we have the knowledge and expertise to handle it.
Our Comprehensive Foundation Repair Services
As the most trusted foundation contractors in San Antonio, we offer a wide range of foundation repair services to suit your needs. From residential to commercial properties, our team has the experience and skills to fix a variety of foundation problems. Our services include:
Slab Foundation Repair: We can address shifting, sinking, or settling slab foundations using advanced repair methods, restoring your foundation’s stability with minimal disruption.
Pier and Beam Foundation Repair: If your home has a pier and beam foundation, our team can replace or reinforce the supports to restore the level and structural integrity of your property.
Crack Repair: Cracks in your foundation are a serious concern that can lead to moisture intrusion and further damage. We provide expert crack repair services to prevent these issues from escalating.
Leveling and Stabilization: Whether your foundation is sinking or lifting, we can accurately level and stabilize it using the latest technology and techniques, ensuring a solid foundation for years to come.
Drainage Solutions: Proper drainage is essential to prevent soil movement beneath your foundation. We offer grading services and French drains to help protect your property from water damage and foundation issues.
Why We Are the Best Foundation Repair in San Antonio
At San Antonio Foundation Repair, we believe that quality, customer satisfaction, and expertise are the keys to being the best. We pride ourselves on providing thorough, honest, and reliable foundation repair services. Here’s why we are considered the best foundation repair in San Antonio:
Experienced Technicians: Our team of certified and trained technicians has extensive experience in foundation repair, ensuring that every job is completed to the highest standards.
Comprehensive Assessments: We offer detailed foundation inspections to assess the root causes of your foundation issues, providing you with the most effective and cost-efficient solutions.
Cutting-Edge Techniques: We use the latest technology and methods in the foundation repair industry, ensuring long-lasting, stable results.
Affordable Solutions: We understand the importance of budgeting for repairs, which is why we offer competitive pricing without compromising on quality.
Excellent Customer Service: We take pride in our commitment to outstanding customer service. From the first consultation to the final repair, we guide you every step of the way.
Get the Best Foundation Repair in San Antonio Today
If you're in need of foundation contractors in San Antonio, look no further than San Antonio Foundation Repair. We’re here to help you with all of your foundation repair needs, providing you with peace of mind and a stable foundation for years to come.
Don’t wait for foundation problems to get worse. Call us today at +1 210-405-3117 to schedule an inspection and receive a free, no-obligation estimate. Let us show you why we’re the best foundation repair in San Antonio.2 -
HOW TO HIRE A BITCOIN RECOVERY EXPERT HIRE ADWARE RECOVERY SPECIALIST
I had spent $410,000 worth of Bitcoins for the sole cause of keeping alive the passion for the conservation of historical documents and valuable manuscripts rotting over the centuries. This was the work for the remainder of my lifetime, keeping history alive. But all this could have slipped by through one small error.
I lost the seed word. It happened when the office where I work went through its routine sorting through the archives. I'd scrawled my seed word and stuck it somewhere amidst the notes, deeming this the safest possible location. But when the sections were shuffled for work being undertaken, the papers were shuffled around, re-piled, and some bitterly discarded. My seed word vanished into the mixture. WhatsApp info:+12723328343
When I learned about what had taken place, I felt sick. That the Bitcoin wasn't mere money; the destiny of our conservation campaign hung here. That the idea I'd risked everything for something like this being one misplaced detail weighed heavily upon me. Email info: Adware recovery specialist (@) auctioneer. net
For weeks, I combed through each and every doc, each and every directory. Nothing. I'd given up until one day when one of the office researchers, also one from the research side, heard about ADWARE RECOVERY SPECIALIST when he was studying blockchains. Like a small beam of light. Website info: http s:// adware recovery specialist. com
I contacted their support, and from the very start, when the very first call went through, their attitude towards me was respectful and patient. They did not mock me for the mistake—instead, treated the situation like some historical riddle waiting for deciphering. They were prepared from their side with professionals for data recovery under complex circumstances. Even for the conservation of virtual resources like Bitcoin, they had professionals. They worked together with me, stitching together the fragments and morsels that even I hadn't known were worth anything. They were able to recover some of the data lost by using creative recovery procedures, showing the progress the field has made. Telegram info: http s:// t.me/ adware recovery specialist1
Within two weeks the wallet became recoverable. $410,000,all the money was recovered. I was shocked and over the hill.
Beyond just recovering the investment, ADWARE RECOVERY SPECIALIST also introduced me to some very valuable services, such as wallet security audit and long-term security plans for the digital assets, about which I hadn't even heard earlier. They not only saved my project, but also helped make me secure it even better for the future. Thanks to them, the future and the past is secure.2



