News for hackers. Stuff that matters.

33degrees

Re:Asking for a date of birth (2013) on Thursday June 16, 2022 @11:47AM (#31767414)
> Is this a by-product of some compliance or self-regulatory requirement like ESRB?

Yes, Steam addressed this an announcement a few years ago:

> Q: Why do you KEEP asking my damn age throughout the store?

> A: We're with you on this. Unfortunately, many rating agencies have rules that stipulate that we cannot save your age for longer than a single browsing session. It's frustrating, but know we're filling out those age gates too.

https://steamcommunity.com/games/593110/announcements/detail...

Re:Please put units in names on Sunday March 20, 2022 @11:14PM (#30749800)
In Ruby that would be

    sleep 3.seconds
Hard to to be more concise than that
Re:Tips for a Healthier Postgres Database on Saturday January 08, 2022 @10:02PM (#29859533)
I’m definitely not an expert and I haven’t found running postgres any more difficult than mysql. There are some differences that take a bit of getting used to, though.
Re:Understanding UUIDs, ULIDs and string representations on Wednesday January 05, 2022 @08:09AM (#29808417)
Yeah, I find they’re best used for data where the creation time is public information, like chat messages or logs
Re:Hetzner Apple Mac Mini Offering on Tuesday October 19, 2021 @10:39AM (#28918582)
Does browserstack not work for you?
Re:The 5-Hour CDN on Tuesday August 03, 2021 @09:04PM (#28056124)
It's supported, but only for NGINX Plus. You can kind of work around it by using proxy_cache_bypass though
Re:Ness – Deploy web sites to your AWS account on Monday June 14, 2021 @10:14AM (#27502760)
I'd love something like this but for docker. I know of Qovery but I've had problems with it, and a CLI application would be better
Re:Don’t we all just want to use SQL on the front end? on Thursday April 15, 2021 @01:15PM (#26823355)
https://blitzjs.com/ does something similar, where you can write server side code inside components and it turns it into an API
I have first hand experience this ,as I was recently diagnosed with reactive hypoglycaemia[1]. The recommended treatment was eating protein and vegetables before carbohydrates, along with daily 12 hour fasting, and within week my symptoms were gone. It's apparently an intestinal issue, where it over-reacts to the presence of carbs when the stomach is empty, and is fairly common in people who have had bariatric surgery.

[1] https://en.wikipedia.org/wiki/Reactive_hypoglycemia

Re:I am lonely will anyone speak to me on Friday December 25, 2020 @10:28AM (#25536972)
I’ll add to this and say that people are mostly looking for validation when discussing problems, and that should always be your first response. If you feel you have valuable advice to give, ask them if they want it and make sure they’ll actually be receptive.
Interesting! I imagine this is specific to France as I’ve never heard this in Québec...
This is good advice! I'll check out the book.
I think part of the issue is that a huge chunk of Mozilla's revenue comes from their deal with Google, which expires in a few months is unlikely to be renewed with similar numbers, if at all.
Re:CDC recommends sweeping changes to American offices on Friday May 29, 2020 @04:50PM (#23355373)
Elevators are a huge problem: a friend of mine told me her employer calculated it would take 24 hours for all employees to arrive at their desks if they follow social distancing rules.
Re:Why Does Covid-19 Kill So Many Older People? on Saturday March 21, 2020 @08:51AM (#22646173)
Covid-19 is not an influenza virus, coronaviruses are a different family
Re:Over 2,000 Italian health workers infected on Monday March 16, 2020 @12:32PM (#22594140)
South Korea has been doing extensive testing, not just of people presenting symptoms but also tracking their movements to find those they've been in contact with. https://www.france24.com/en/20200311-coronavirus-can-s-korea...
Yes, and many municipalities have rent regulations
Re:Should you self-host Google Fonts? on Sunday February 23, 2020 @09:40AM (#22397006)
If you use npm, there are packages for most (if not all?) google fonts via the Typefaces project, which makes them trivial to self host. https://github.com/KyleAMathews/typefaces
There’s this article on the bbc’s website which I believe covers the same research https://www.bbc.com/news/magazine-26089486
Not knowing if something is a property or method is a feature, it’s the principle of uniform access as elaborated by Bertrand Meyer.

https://en.m.wikipedia.org/wiki/Uniform_access_principle

it takes some getting used to, but it’s now one of my favourite things about Ruby.

Re:Next.js 9.2 on Wednesday January 15, 2020 @06:37PM (#22060075)
The gap has closed but afaik yarn is sill a bit faster
Re:Next.js 9.2 on Wednesday January 15, 2020 @06:31PM (#22060028)
Nice that they've added CSS Module support. I've been using them for my react projects and find them a good solution when you don't need lots of dynamic styling.
Re:CalVer: Calendar Versioning on Monday January 06, 2020 @08:52AM (#21969090)
For APIs, calver can make a lot of sense, as detailed in Stripe’s blog post on the subject https://stripe.com/en-ca/blog/api-versioning
Re:Null Island on Sunday December 22, 2019 @10:53AM (#21857776)
In Ruby, nil is a singleton instance of NilClass, and defines #nil?, as well as methods to cast to different types e.g. nil.to_a == []. Rails goes a bit further and adds #blank?, which is handy for things that might be nil or empty strings.
Re:Ask HN: Why GraphQL APIs but no Datalog APIs? on Monday December 09, 2019 @10:10AM (#21743249)
Personally, as a full stack developer I prefer having the complexity on the back end, as I find it easier to manage there.
Re:Volatile – A key-value pair API on Tuesday November 12, 2019 @08:03AM (#21513707)
Idempotent means that a given request always has the same result. This GET request fits that definition, since making the same request several times will always return the same thing. The fact that it modifies data means that it’s not safe, but that is a different concern. Remember that PUT and DELETE are also idempotent
Intelligence based on public sources as opposed to clandestine ones. Nothing to do with open source software.

Older »