Better HN
topnewbestaskshowjobs
Log inSign up

pdevr

1,080 karma · joined Apr 19, 2013 (13y ago) · 401 submissions

Submissions

comment 5y ago · link · parent

99.99% (or more) of people who buy lotteries, lose ALL their money. However, government allows anyone to buy them. There is no meaningful restriction for an assured destruction of wealth for most of those who buy them.

While this GME/AMC run will not end well for many people, restricting people from buying those stocks - whether it is through actions of trading platforms or governing agencies - smacks not just of paternalism, but downright favoritism. Only certain parties benefit from this.

comment 5y ago · link · parent

I was lucky to see and work with this IDE in a real project, long after it stopped "existing". The company had code written using Visual Age, and it needed to be ported out of it. Wasn't too bad, considering how old it was.

Now I look at VS Code (Disclaimer: I haven't looked at the source code of Electron), and there doesn't seem to be much innovation visually. Most IDEs seem to follow the layout of websites - a left sidebar, a main section, and an optional right sidebar, with a footer.

Note: If someone here builds a different UI for IDEs, I will be an enthusiastic beta tester.

Behind the user interfaces, a lot of things have changed for the better. Integration with other tools in the DevOps pipeline, ability to test quickly, autocomplete tools that understand frameworks, technologies and even contexts - all that has happened behind the scenes.

comment 5y ago · link · parent

Ah. RMI.

It is funny. When I started with Java, one of the first real-world problems I faced, was solved using RMI.

After many years, I faced a weird situation where requests were not passing through properly and hence, security assertions were failing.I solved it by ditching the frameworks and making pure HTTP calls[1]. I thought, the wheel has come full circle :-)

[1] Disclaimer: Do not try at home, unless you know very well what you are doing. Especially when it involves security.

comment 5y ago · link · parent

Java has amazing longevity. People have been writing articles about its demise, and yet, it is still here.

I have programmed in Java for a long, long time. Getters and setters, Maven and its vagaries, abundant use of patterns - all of these make sure people have strong opinions about it.

If any new person wants to learn Java, my two cents: Master generics and lambda. Do not learn, master them. Learn to write bullet-proof code using those two concepts, including proper exception handling. You will learn about a lot of things in Java, just by mastering those two concepts.

comment 5y ago · link · parent

(I am not a lawyer disclaimer applies)

They are yet to issue the final regulation - existing entities have around two years to comply. This is HUGE, so I am sure we will hear more about this in the coming months.

comment 5y ago · link · parent

Disclaimer: Not a lawyer.

I think companies with a physical office in the US, where they also have a operating presence, are exempt. But looks like you still have to report that you are exempt.

If you are not exempt, you need to provide your name, address, date of birth, and an ID. That is all.

At this point, it looks like FOIA is not applicable for this information, so privacy is not impacted.

comment 5y ago · link · parent

This is uncanny - I was just now going through some historic code snippets for holy grail, and was thinking of Tantek and his box model hack[1]. I come here, and see this.

Coincidence? Or, is the world of technology really that small? :)

[1] http://tantek.com/CSS/Examples/boxmodelhack.html

comment 5y ago · link · parent

There is nothing wrong in switching your opinion based on facts that come to light later. Parties and their supporters have every right to do that. However, when a party wrongly or subjectively changes its position, that is when things get murky. Supporters have to either fall in line, or be silent, to be accepted as "one of them".

comment 5y ago · link · parent

Thanks for the RFC link.

I guess you can have components and hooks to share stuff between server and client?

comment 5y ago · link · parent

Thanks, so looks like this was all about the ":" character producing unexpected behavior.

comment 5y ago · link · parent

Youtube videos:

1. Clément Mihailescu has a good summary done in less than fifteen minutes.

2. FreeCodeCamp.org has a long video.

comment 5y ago · link · parent

Summary: Prefer real world over social media.

The path to that conclusion: Very weak, at best.

I agree with you.

comment 5y ago · link · parent

As long as it is stored on the server and the transmission is encrypted, we will never know for sure. Especially in cases where the company "controls" the encryption and decryption.

comment 5y ago · link · parent

So the comment stating the reason for downvoting is meant for the person whose post was downvoted, even though everyone can see it. Yes, as you said, I guess it will be a type of opportunity to self-triage - in a public way. It will also (hopefully) make the person who downvotes pause and think about the reason for downvoting.

Edit: typo/words

comment 5y ago · link · parent

I just thought of this. I made a comment about a certain technology being double-edged and saw a couple of down votes. I really would have loved to know what caused the ire and have a polite discussion with the person.

Suggestion:

Technical forums have more than code being discussed. You may want to add categories or groups.

Idea/HN feature wishlist: When you downvote a comment, you can add a reason right there. When you hover on any comment which was downvoted, you can see the reasons why it was downvoted.

comment 5y ago · link · parent

I was thinking about missing children being identified faster, once we can identify individual features instead of group features.

Not at all about race.

comment 5y ago · link · parent

This technology is like a knife. Depending on who wields it, the result can be awesome or awful. Let us hope it is mostly the former.

comment 5y ago · link · parent

That's some original thought there. Did you think of tortoise? Or snail? Or was it just a random thought?

comment 5y ago · link · parent

Those guys have at least five forms of locomotion, according to this link: https://en.wikipedia.org/wiki/Rectilinear_locomotion

Add a sixth motion, to which I was witness when I was a small child: Almost flying up, after "standing" on its tail :-)

comment 5y ago · link · parent

Wow.

1. The non-www version doesn't seem to work.

2. If you try https://www.intelink.gov/, the browser immediately warns you that the site is not secure, because of certificate problems.

3. If you still dare to venture ahead, you are greeted with this: "This is a United States Government computer system. This computer system, including all related equipment, networks, and network devices, including Internet access, are provided only for authorized U.S. Government use. U.S. Government computer systems may be monitored for all lawful purposes, including ensuring that their use is authorized, for management of the system, to facilitate protection against unauthorized access, and to verify security procedures, survivability, and operational security. Monitoring includes authorized attacks by authorized U.S. Government entities to test or verify the security of this system. During monitoring, information may be examined, recorded, copied, and used for authorized purposes. All information including personal information, placed on or sent over this system may be monitored."

I am out of here :-)

comment 5y ago · link · parent

A huge vote for Postman. Used it a few years back. Was an awesome tool. Hope it still is.

comment 5y ago · link · parent

I have a ten year old TODO text file which contains almost everything I have left unfinished. The top of the file contains the latest task I have to finish, and the details, including the device/machine involved, files, what I was doing, and what needs to be done.

When something of higher priority comes up, I enter that at the top.

When things are done, I add "DONE" against those tasks.

Once in a while, I clean up all the "DONE" tasks.

It is a mangled mess, but it has helped me survive for one decade now.

comment 5y ago · link · parent

Very true - I did Inspect Element and changed #808080 to #202020 without even thinking. I guess I am by now used to these low contrast designs :-)

comment 5y ago · link · parent

Essentially, isn't this just another domain registrar (Namebase.io) providing a few TLDs, following a much more complicated process, the advantage being a much more solid DNS entry substitute? If you run a high-traffic site, won't you still be at the mercy of hosting providers, CDN providers, etc.?

Related question: Is there a true uncensorable (sic) protocol for hosting a website?

comment 5y ago · link · parent

'"The reality, however, was that for one set of tests, the failure rate was 51.3 per cent. What does that mean? Prosecutors explain: “In other words, Theranos’s TT3 blood test results were so inaccurate, it was essentially a coin toss whether the patient was getting the right result. The data was devastating.”'

Slightly worse than a coin toss, even after accounting for the inherent bias in a flipped coin :-)

comment 5y ago · link · parent

From the second link:

PG's opinion: "Aaron's not wrong to call himself one of the founders. The company behind Reddit was a merger of two startups, one that made Reddit and one that made Infogami, and in that situation the founders of both startups are considered founders of the combined company."

comment 5y ago · link · parent

Reddit's Lisp to Python port used web.py written by Aaron: http://www.aaronsw.com/weblog/rewritingreddit

web.py source code - a framework in a single file: https://web.archive.org/web/20060106081029/http://webpy.org:...

RIP Aaron.

comment 5y ago · link · parent

Is there any place where NLG guys hang around? Most groups seem to have NLP as the focus.

comment 5y ago · link · parent

Question not directly related to this event, but triggered by this:

Has any of the countries around the world built a communication mechanism to directly reach its people without using any third-party platforms?

Isn't this a must, in case external/foreign malicious actors forcibly take control of the major third-party platforms used in a country someday in future?

1
678
14